<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<table align="center" width="720">
	<tr height="80" border="1" align="center">
	<c:forEach var="item" items="${item }">
		<td>
			<a style="text-decoration: none" href="itemBuy.do?i_no=${item.i_no }"><img src="../upload/${item.i_image1 }" width = "150" height= "150"><br/>
			${item.i_name }<br/>
			${item.i_ea }<br/>
			${item.i_price }<br/>
			</a>
		</td>
		<c:if test="${item.rnum%3==0 }">
			</tr>
			<tr height="80" border="1" align="center">	
		</c:if>	
	</c:forEach>
	</tr>
</table>
 